using System;
using System.Collections.Generic;
using System.Linq;
namespace TemplateWeb.Controllers
{
    #region using
    using TemplateWeb.Helpers;
    #endregion
    public enum EnumViewModel
    {
        ADMIN_DETAILOF_NGUOIDUNG,
        ADMIN_DETAILOF_THONGTINCONGTY,
        ADMIN_DETAILOF_TINTUC,
        ADMIN_DETAILOF_DOLUUNIEM,
        ADMIN_DETAILOF_SACH,
        ADMIN_DETAILOF_PHANHOI,
        ADMIN_DETAILOF_HOPTHU,
        ADMIN_DETAILOF_DOITAC,
        ADMIN_DOLUUNIEM,
        ADMIN_NGUOIDUNG,
        ADMIN_THONGTINCONGTY,
        ADMIN_TINTUC,
        ADMIN_SACH,
        ADMIN_TIMKIEM_SACH,
        ADMIN_PHANHOI,
        ADMIN_LOAITINTUC,
        ADMIN_LOAISACH,
        ADMIN_HOPTHU,
        ADMIN_DOITAC,
        ADMIN_REVENUE,
        ADMIN_ORDERS_REVENUE_EXECUTE,
        ADMIN_ORDERDETAIL,

        HOME_REGISTER,
        HOME_DETAILOF_NGUOIDUNG,
        HOME_INDEX,
        HOME_CHITIETSACH,
        HOME_CHITIETDOLUUNIEM,
        HOME_CHITIETTINTUC,
        HOME_CHITIETGOCCHIASE,
        HOME_SACH,
        HOME_DOLUUNIEM,
        HOME_TINTUC,
        HOME_DOITAC,
        HOME_CHITIETDOITAC,
        HOME_THEMCHIASE,
        HOME_ORDER,
        HOME_ORDERHISTORY,
        HOME_ORDERHISTORY_ORDERDETAIL,
        HOME_TIMKIEM
    }

    public class DataTransferViewModel
    {
        public int CurrentPage { get; set; }
        public EnumViewModel EnumViewModelType { get; set; }
        public string StrID { get; set; }
        public int IntID { get; set; }
        public Guid GuidID { get; set; }
        public string UserName { get; set; }
        public string Role { get; set; }
        public string InfoText { get; set; }
        public Guid ID { get; set; }
        public int IDLoaiTinTuc { get; set; }
        public int IDLoaiSach { get; set; }
        public int IDHopThu { get; set; }
        public int IDSach { get; set; }
        public int IDDonDatHang { get; set; }
        public int IDSanPham { get; set; }
        public DateTime From { get; set; }
        public DateTime To { get; set; }

        public string TimKiem_LoaiSanPham { get; set; }
        public string TimKiem_TuKhoa { get; set; }
        public string TimKiem_TacGia { get; set; }

        public DataTransferViewModel()
        {
            CurrentPage = 1;
            ID = Guid.Parse("11112222-1111-1111-1111-111122223333");
            IDLoaiTinTuc = -1;
            IDLoaiSach = -1;
            IDHopThu = -1;
            IDSach = -1;
            IDSanPham = -1;
            IDDonDatHang = -1;
            From = DateTime.MinValue;
            To = DateTime.MinValue;
        }
    }
}